package com.ruoyi.be.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 住院患者信息对象 t_medical_outpatientdoctor_receiverecord
 * 
 * @author ly
 * @date 2022-01-05
 */
public class MyMedicalOutpatientdoctorReceiverecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 接诊记录表id */
    private String opdoctorreceiverecordid;

    /** 门诊卡id */
    @Excel(name = "门诊卡id")
    private String outpatientid;

    /** 医生ID */
    @Excel(name = "医生ID")
    private String doctorid;

    /** 1门诊2住院 */
    @Excel(name = "1门诊2住院")
    private Long status;

    /* 患者姓名 */
    @Excel(name = "患者姓名")
    private String name;

    /* 医生姓名 */
    @Excel(name = "医生姓名")
    private String user_name;

    /* 身份证 */
    @Excel(name = "身份证")
    private String code;

    /* 押金 */
    @Excel(name = "押金")
    private String deposit;
    /*接诊状态*/
    @Excel(name = "接诊状态")
    private Long type;

    /*接诊状态*/
    @Excel(name = "挂号ID")
    private Long id;

    /*接诊状态*/
    @Excel(name = "接诊id")
    private Long sid;

    /*接诊状态*/
    @Excel(name = "接诊id")
    @JsonFormat(pattern = "yyyy-mm-dd HH:mm:ss")
    private Date createTime;

    /*患者id*/
    @Excel(name = "患者id")
    private String personid;

    /*主职医生*/
    @Excel(name = "主职医生")
    private String user_id;

    public String getPersonid() {
        return personid;
    }

    public void setPersonid(String personid) {
        this.personid = personid;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSid() {
        return sid;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public String getDeposit() {
        return deposit;
    }

    public void setDeposit(String deposit) {
        this.deposit = deposit;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setOpdoctorreceiverecordid(String opdoctorreceiverecordid)
    {
        this.opdoctorreceiverecordid = opdoctorreceiverecordid;
    }

    public String getOpdoctorreceiverecordid()
    {
        return opdoctorreceiverecordid;
    }
    public void setOutpatientid(String outpatientid)
    {
        this.outpatientid = outpatientid;
    }

    public String getOutpatientid()
    {
        return outpatientid;
    }
    public void setDoctorid(String doctorid)
    {
        this.doctorid = doctorid;
    }

    public String getDoctorid()
    {
        return doctorid;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("opdoctorreceiverecordid", getOpdoctorreceiverecordid())
                .append("outpatientid", getOutpatientid())
                .append("doctorid", getDoctorid())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .toString();
    }
}
